﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Ymca.Web.Models.Blog
{
	public class CreatePostViewModel
	{
		[Required(ErrorMessage = "Title is required")]
		public string Title { get; set; }

		[Required(ErrorMessage = "Body is required")]
		public string Body { get; set; }

		public IEnumerable<HttpPostedFileBase> Attachments { get; set; }
	}
}